package cn.com.freelibra.forum.web.view;

import java.io.Serializable;

/**
 * 异步请求通用类
 * @author qing
 */
@SuppressWarnings("serial")
public class AjaxObject implements Serializable{
	

	private int status;//状态
	private String action;//动作
	private String msg;//提示信息
	private Object data;//数据
	
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getAction() {
		return action;
	}
	public void setAction(String action) {
		this.action = action;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	@Override
	public String toString() {
		return "AjaxObject [status=" + status + ", action=" + action + ", msg=" + msg + ", data=" + data + "]";
	}
}
